API: Deprecate gtk_container_set_reallocate_redraws()
authorBenjamin Otte <otte@redhat.com>
Sun, 18 May 2014 14:08:30 +0000 (16:08 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 18 May 2014 14:09:21 +0000 (16:09 +0200)
gtk/gtkcontainer.c
gtk/gtkcontainer.h

index bde7e629964542a86d45389d517977cfa7db2439..cff0ef73fdfb6942fbc57241c9fec9811d441550 100644 (file)
@@ -1704,6 +1704,9 @@ gtk_container_get_resize_mode (GtkContainer *container)
  *
  * Containers requesting reallocation redraws get automatically
  * redrawn if any of their children changed allocation.
+ *
+ * @Deprecated: 3.14: Call gtk_widget_queue_draw() in your size_allocate
+ *     handler.
  **/
 void
 gtk_container_set_reallocate_redraws (GtkContainer *container,
index 6572306903bd6e7ed718a814203b7a512d2fc2cc..9e7d512e82f1397fd794789b6c9b2903e7d3db2e 100644 (file)
@@ -173,7 +173,7 @@ void     gtk_container_unset_focus_chain (GtkContainer  *container);
 
 /* Widget-level methods */
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
 void   gtk_container_set_reallocate_redraws (GtkContainer    *container,
                                             gboolean         needs_redraws);
 GDK_AVAILABLE_IN_ALL